$(document).ready(function () {
	/* messages fade away when dismiss is clicked */
	$(".message > .dismiss > a").live("click", function (event) {
		var value = $(this).attr("href");
		var id = value.substring(value.indexOf('.') + 1);

		$("." + id).fadeOut('slow', function () { });

		return false;
	});
});